﻿#pragma once
namespace ivy
{
struct GameActionTypes
{
    enum
    {
    //ActionType:序列动作----Sequence
        AT_Sequence = 0,
        AT_SequenceElementCount = 0,
    //ActionType:并行动作----Spawn
        AT_Spawn = 1,
        AT_SpawnElementCount = 0,
    //ActionType:无限循环动作----RepeatForEver
        AT_RepeatForEver = 2,
        AT_RepeatForEverElementCount = 0,
    //ActionType:有限循环动作----Repeat
        AT_Repeat = 3,
        AT_RepeatElementCount = 1,
        AT_ELEMENT_Repeat_Time_int = 0,
    //ActionType:移动动作----MoveTo
        AT_MoveTo = 4,
        AT_MoveToElementCount = 2,
        AT_ELEMENT_MoveTo_Time_float = 0,
        AT_ELEMENT_MoveTo_Position_vec2 = 1,
    //ActionType:相对移动动作----MoveBy
        AT_MoveBy = 5,
        AT_MoveByElementCount = 2,
        AT_ELEMENT_MoveBy_Time_float = 0,
        AT_ELEMENT_MoveBy_Position_vec2 = 1,
    //ActionType:缩放动作----ScaleTo
        AT_ScaleTo = 6,
        AT_ScaleToElementCount = 3,
        AT_ELEMENT_ScaleTo_Time_float = 0,
        AT_ELEMENT_ScaleTo_XValue_float = 1,
        AT_ELEMENT_ScaleTo_YValue_float = 2,
    //ActionType:相对缩放动作----ScaleBy
        AT_ScaleBy = 7,
        AT_ScaleByElementCount = 3,
        AT_ELEMENT_ScaleBy_Time_float = 0,
        AT_ELEMENT_ScaleBy_XValue_float = 1,
        AT_ELEMENT_ScaleBy_YValue_float = 2,
    //ActionType:旋转动作----RotateTo
        AT_RotateTo = 8,
        AT_RotateToElementCount = 2,
        AT_ELEMENT_RotateTo_Time_float = 0,
        AT_ELEMENT_RotateTo_RotateValue_vec3 = 1,
    //ActionType:相对旋转动作----RotateBy
        AT_RotateBy = 9,
        AT_RotateByElementCount = 2,
        AT_ELEMENT_RotateBy_Time_float = 0,
        AT_ELEMENT_RotateBy_RotateValue_vec3 = 1,
    //ActionType:倾斜动作----SkewTo
        AT_SkewTo = 10,
        AT_SkewToElementCount = 3,
        AT_ELEMENT_SkewTo_Time_float = 0,
        AT_ELEMENT_SkewTo_XAngle_float = 1,
        AT_ELEMENT_SkewTo_YAngle_float = 2,
    //ActionType:相对倾斜动作----SkewBy
        AT_SkewBy = 11,
        AT_SkewByElementCount = 3,
        AT_ELEMENT_SkewBy_Time_float = 0,
        AT_ELEMENT_SkewBy_XAngle_float = 1,
        AT_ELEMENT_SkewBy_YAngle_float = 2,
    //ActionType:跳跃动作----JumpTo
        AT_JumpTo = 12,
        AT_JumpToElementCount = 4,
        AT_ELEMENT_JumpTo_Time_float = 0,
        AT_ELEMENT_JumpTo_Position_vec2f = 1,
        AT_ELEMENT_JumpTo_Height_float = 2,
        AT_ELEMENT_JumpTo_JumpCount_int = 3,
    //ActionType:相对跳跃动作----JumpBy
        AT_JumpBy = 13,
        AT_JumpByElementCount = 4,
        AT_ELEMENT_JumpBy_Time_float = 0,
        AT_ELEMENT_JumpBy_Position_vec2f = 1,
        AT_ELEMENT_JumpBy_Height_float = 2,
        AT_ELEMENT_JumpBy_JumpCount_int = 3,
    //ActionType:贝兹曲线移动动作----BezierTo
        AT_BezierTo = 14,
        AT_BezierToElementCount = 4,
        AT_ELEMENT_BezierTo_Time_float = 0,
        AT_ELEMENT_BezierTo_ControlPoint1_vec2f = 1,
        AT_ELEMENT_BezierTo_ControlPoint2_vec2f = 2,
        AT_ELEMENT_BezierTo_EndPoint_vec2f = 3,
    //ActionType:相对贝兹曲线移动动作----BezierBy
        AT_BezierBy = 15,
        AT_BezierByElementCount = 4,
        AT_ELEMENT_BezierBy_Time_float = 0,
        AT_ELEMENT_BezierBy_ControlPoint1_vec2f = 1,
        AT_ELEMENT_BezierBy_ControlPoint2_vec2f = 2,
        AT_ELEMENT_BezierBy_EndPoint_vec2f = 3,
    //ActionType:渐变出现动作----FadeIn
        AT_FadeIn = 16,
        AT_FadeInElementCount = 1,
        AT_ELEMENT_FadeIn_Time_float = 0,
    //ActionType:渐变消失动作----FadeOut
        AT_FadeOut = 17,
        AT_FadeOutElementCount = 1,
        AT_ELEMENT_FadeOut_Time_float = 0,
    //ActionType:渐变透明度动作----FadeTo
        AT_FadeTo = 18,
        AT_FadeToElementCount = 2,
        AT_ELEMENT_FadeTo_Time_float = 0,
        AT_ELEMENT_FadeTo_Opacity_int = 1,
    //ActionType:渐变颜色动作----TintTo
        AT_TintTo = 19,
        AT_TintToElementCount = 4,
        AT_ELEMENT_TintTo_Time_float = 0,
        AT_ELEMENT_TintTo_R_int = 1,
        AT_ELEMENT_TintTo_G_int = 2,
        AT_ELEMENT_TintTo_B_int = 3,
    //ActionType:相对渐变颜色动作----TintBy
        AT_TintBy = 20,
        AT_TintByElementCount = 4,
        AT_ELEMENT_TintBy_Time_float = 0,
        AT_ELEMENT_TintBy_R_int = 1,
        AT_ELEMENT_TintBy_G_int = 2,
        AT_ELEMENT_TintBy_B_int = 3,
    //ActionType:闪烁动作----Blink
        AT_Blink = 21,
        AT_BlinkElementCount = 2,
        AT_ELEMENT_Blink_Time_float = 0,
        AT_ELEMENT_Blink_BlinkCount_int = 1,
    //ActionType:延迟动作----DelayTime
        AT_DelayTime = 22,
        AT_DelayTimeElementCount = 1,
        AT_ELEMENT_DelayTime_Time_float = 0,
    //ActionType:球面轨迹旋转动作----Orbit
        AT_Orbit = 23,
        AT_OrbitElementCount = 7,
        AT_ELEMENT_Orbit_Time_float = 0,
        AT_ELEMENT_Orbit_Radius_float = 1,
        AT_ELEMENT_Orbit_DeltaRadius_float = 2,
        AT_ELEMENT_Orbit_ZAngle_float = 3,
        AT_ELEMENT_Orbit_ZDeltaAngle_float = 4,
        AT_ELEMENT_Orbit_XAngle_float = 5,
        AT_ELEMENT_Orbit_XDeltaAngle_float = 6,
    //ActionType:可变张力样条曲线动作----CardinalSplineTo
        AT_CardinalSplineTo = 24,
        AT_CardinalSplineToElementCount = 12,
        AT_ELEMENT_CardinalSplineTo_Time_float = 0,
        AT_ELEMENT_CardinalSplineTo_Tension_float = 1,
        AT_ELEMENT_CardinalSplineTo_Point1_vec2f = 2,
        AT_ELEMENT_CardinalSplineTo_Point2_vec2f = 3,
        AT_ELEMENT_CardinalSplineTo_Point3_vec2f = 4,
        AT_ELEMENT_CardinalSplineTo_Point4_vec2f = 5,
        AT_ELEMENT_CardinalSplineTo_Point5_vec2f = 6,
        AT_ELEMENT_CardinalSplineTo_Point6_vec2f = 7,
        AT_ELEMENT_CardinalSplineTo_Point7_vec2f = 8,
        AT_ELEMENT_CardinalSplineTo_Point8_vec2f = 9,
        AT_ELEMENT_CardinalSplineTo_Point9_vec2f = 10,
        AT_ELEMENT_CardinalSplineTo_Point10_vec2f = 11,
    //ActionType:相对可变张力样条曲线动作----CardinalSplineBy
        AT_CardinalSplineBy = 25,
        AT_CardinalSplineByElementCount = 12,
        AT_ELEMENT_CardinalSplineBy_Time_float = 0,
        AT_ELEMENT_CardinalSplineBy_Tension_float = 1,
        AT_ELEMENT_CardinalSplineBy_Point1_vec2f = 2,
        AT_ELEMENT_CardinalSplineBy_Point2_vec2f = 3,
        AT_ELEMENT_CardinalSplineBy_Point3_vec2f = 4,
        AT_ELEMENT_CardinalSplineBy_Point4_vec2f = 5,
        AT_ELEMENT_CardinalSplineBy_Point5_vec2f = 6,
        AT_ELEMENT_CardinalSplineBy_Point6_vec2f = 7,
        AT_ELEMENT_CardinalSplineBy_Point7_vec2f = 8,
        AT_ELEMENT_CardinalSplineBy_Point8_vec2f = 9,
        AT_ELEMENT_CardinalSplineBy_Point9_vec2f = 10,
        AT_ELEMENT_CardinalSplineBy_Point10_vec2f = 11,
    //ActionType:CatmullRom样条曲线动作----CatmullRomTo
        AT_CatmullRomTo = 26,
        AT_CatmullRomToElementCount = 11,
        AT_ELEMENT_CatmullRomTo_Time_float = 0,
        AT_ELEMENT_CatmullRomTo_Point1_vec2f = 1,
        AT_ELEMENT_CatmullRomTo_Point2_vec2f = 2,
        AT_ELEMENT_CatmullRomTo_Point3_vec2f = 3,
        AT_ELEMENT_CatmullRomTo_Point4_vec2f = 4,
        AT_ELEMENT_CatmullRomTo_Point5_vec2f = 5,
        AT_ELEMENT_CatmullRomTo_Point6_vec2f = 6,
        AT_ELEMENT_CatmullRomTo_Point7_vec2f = 7,
        AT_ELEMENT_CatmullRomTo_Point8_vec2f = 8,
        AT_ELEMENT_CatmullRomTo_Point9_vec2f = 9,
        AT_ELEMENT_CatmullRomTo_Point10_vec2f = 10,
    //ActionType:相对CatmullRom样条曲线动作----CatmullRomBy
        AT_CatmullRomBy = 27,
        AT_CatmullRomByElementCount = 11,
        AT_ELEMENT_CatmullRomBy_Time_float = 0,
        AT_ELEMENT_CatmullRomBy_Point1_vec2f = 1,
        AT_ELEMENT_CatmullRomBy_Point2_vec2f = 2,
        AT_ELEMENT_CatmullRomBy_Point3_vec2f = 3,
        AT_ELEMENT_CatmullRomBy_Point4_vec2f = 4,
        AT_ELEMENT_CatmullRomBy_Point5_vec2f = 5,
        AT_ELEMENT_CatmullRomBy_Point6_vec2f = 6,
        AT_ELEMENT_CatmullRomBy_Point7_vec2f = 7,
        AT_ELEMENT_CatmullRomBy_Point8_vec2f = 8,
        AT_ELEMENT_CatmullRomBy_Point9_vec2f = 9,
        AT_ELEMENT_CatmullRomBy_Point10_vec2f = 10,
    //ActionType:EaseBounceIn动作----EaseBounceIn
        AT_EaseBounceIn = 28,
        AT_EaseBounceInElementCount = 0,
    //ActionType:EaseBounceOut动作----EaseBounceOut
        AT_EaseBounceOut = 29,
        AT_EaseBounceOutElementCount = 0,
    //ActionType:EaseBounceInOut动作----EaseBounceInOut
        AT_EaseBounceInOut = 30,
        AT_EaseBounceInOutElementCount = 0,
    //ActionType:EaseBackIn动作----EaseBackIn
        AT_EaseBackIn = 31,
        AT_EaseBackInElementCount = 0,
    //ActionType:EaseBackOut动作----EaseBackOut
        AT_EaseBackOut = 32,
        AT_EaseBackOutElementCount = 0,
    //ActionType:EaseBackInOut动作----EaseBackInOut
        AT_EaseBackInOut = 33,
        AT_EaseBackInOutElementCount = 0,
    //ActionType:EaseElasticIn动作----EaseElasticIn
        AT_EaseElasticIn = 34,
        AT_EaseElasticInElementCount = 0,
    //ActionType:EaseElasticOut动作----EaseElasticOut
        AT_EaseElasticOut = 35,
        AT_EaseElasticOutElementCount = 0,
    //ActionType:EaseElasticInOut动作----EaseElasticInOut
        AT_EaseElasticInOut = 36,
        AT_EaseElasticInOutElementCount = 0,
    //ActionType:EaseExponentialIn动作----EaseExponentialIn
        AT_EaseExponentialIn = 37,
        AT_EaseExponentialInElementCount = 0,
    //ActionType:EaseExponentialOut动作----EaseExponentialOut
        AT_EaseExponentialOut = 38,
        AT_EaseExponentialOutElementCount = 0,
    //ActionType:EaseExponentialInOut动作----EaseExponentialInOut
        AT_EaseExponentialInOut = 39,
        AT_EaseExponentialInOutElementCount = 0,
    //ActionType:EaseSineIn动作----EaseSineIn
        AT_EaseSineIn = 40,
        AT_EaseSineInElementCount = 0,
    //ActionType:EaseSineOut动作----EaseSineOut
        AT_EaseSineOut = 41,
        AT_EaseSineOutElementCount = 0,
    //ActionType:EaseSineInOut动作----EaseSineInOut
        AT_EaseSineInOut = 42,
        AT_EaseSineInOutElementCount = 0,
    //ActionType:自定义列表事件动作----CustomFunc
        AT_CustomFunc = 43,
        AT_CustomFuncElementCount = 1,
        AT_ELEMENT_CustomFunc_FuncIndex_list = 0,
    //ActionType:其他Action调用动作----OtherAction
        AT_OtherAction = 44,
        AT_OtherActionElementCount = 1,
        AT_ELEMENT_OtherAction_ActionIndex_int = 0,
    //ActionType:释放Form动作----RemoveForm
        AT_RemoveForm = 45,
        AT_RemoveFormElementCount = 1,
        AT_ELEMENT_RemoveForm_FormName_string = 0,
    //ActionType:切换主form动作----ChangeMainForm
        AT_ChangeMainForm = 46,
        AT_ChangeMainFormElementCount = 1,
        AT_ELEMENT_ChangeMainForm_FormName_string = 0,
    //ActionType:释放当前弹出框动作----RemovePopUpForm
        AT_RemovePopUpForm = 47,
        AT_RemovePopUpFormElementCount = 0,
    //ActionType:通知当前弹出框释放动作----CallRemovePopUpForm
        AT_CallRemovePopUpForm = 48,
        AT_CallRemovePopUpFormElementCount = 0,
    //ActionType:创建弹出框动作----CreatePopUpForm
        AT_CreatePopUpForm = 49,
        AT_CreatePopUpFormElementCount = 1,
        AT_ELEMENT_CreatePopUpForm_PopUpFormName_string = 0,
    //ActionType:Hide动作----Hide
        AT_Hide = 50,
        AT_HideElementCount = 0,
    //ActionType:Show动作----Show
        AT_Show = 51,
        AT_ShowElementCount = 0,
    //ActionType:播放音效----PlaySoundEffect
        AT_PlaySoundEffect = 52,
        AT_PlaySoundEffectElementCount = 2,
        AT_ELEMENT_PlaySoundEffect_SoundFilePath_string = 0,
        AT_ELEMENT_PlaySoundEffect_SoundFrequency_float = 1,
    //ActionType:RemoveSelf----RemoveSelf
        AT_RemoveSelf = 53,
        AT_RemoveSelfElementCount = 0,
    //ActionType:释放指定弹出框动作----RemovePopUpFormByName
        AT_RemovePopUpFormByName = 54,
        AT_RemovePopUpFormByNameElementCount = 1,
        AT_ELEMENT_RemovePopUpFormByName_FormName_string = 0,
    //ActionType:通知释放指定弹出框动作----CallRemovePopUpFormByName
        AT_CallRemovePopUpFormByName = 55,
        AT_CallRemovePopUpFormByNameElementCount = 1,
        AT_ELEMENT_CallRemovePopUpFormByName_FormName_string = 0,
    //ActionType:播放音乐----PlayMusic
        AT_PlayMusic = 56,
        AT_PlayMusicElementCount = 1,
        AT_ELEMENT_PlayMusic_FilePath_string = 0,
    //ActionType:控件触摸开关动作----UIControlEnableTouch
        AT_UIControlEnableTouch = 57,
        AT_UIControlEnableTouchElementCount = 1,
        AT_ELEMENT_UIControlEnableTouch_IsEnable_list = 0,
    //ActionType:调用其他界面控件动作----FindControlPlayOtherAction
        AT_FindControlPlayOtherAction = 58,
        AT_FindControlPlayOtherActionElementCount = 4,
        AT_ELEMENT_FindControlPlayOtherAction_FindType_list = 0,
        AT_ELEMENT_FindControlPlayOtherAction_FormName_string = 1,
        AT_ELEMENT_FindControlPlayOtherAction_BlockName_string = 2,
        AT_ELEMENT_FindControlPlayOtherAction_CallActionIndex_int = 3,
    };
};
}
